for %%a in (*.ui) do pyuic4 %%a > UI_%%~na.py